#ifndef LISTENANDSPEAK_H
#define LISTENANDSPEAK_H


#include "OutputAndReceive.h"

#include <iostream>
#include <string>

using namespace std;

class ListenAndSpeak
{
public:

    ListenAndSpeak();
    ~ListenAndSpeak();

    string receive_in(); //接收语音，返回文字
    string speak_out(string respond); //输入文字，输出语音

private:
    
    OutputAndReceive outputAndReceive;

};

#endif // LISTENANDSPEAK_H